package com.coreservlets.jsf.ss09;

import java.util.ArrayList;
import java.util.List;

import javax.faces.bean.ManagedBean;

@ManagedBean
public class ColorsBean 
{
	private String[]  colorsStringArray = { "Blue", "Green", "Red", "Black" };
	private List<String> colorsList = new ArrayList<String>();
	
	public ColorsBean()
	{
		colorsList.add( "White" );
		colorsList.add( "Gray" );
		colorsList.add( "Yellow");
		colorsList.add( "Magenta");
	}

	public String[] getColorsStringArray()
	{
		return( colorsStringArray );
	}
	
	public List<String> getColorsList()
	{
		return( colorsList );
	}
}
